About Entities

The original HTML-language does not allow special characters other than the usual ones in the English language. To write a Swedish å, ä or ö, to write accents of e and other characters or to insert symbols like $ and ©, there are so called entities. An entity begins with an ampersand and ends with a semicolon, and in between, there are usually the character that is enhanced followed by a few more letters that indicates how it would appear. For example, &eacute; means é. An entity can also be written using "&#" followed by the character value and finally a semicolon.

The standard used to define entities is called ISO Latin-1. Today, many pages do have special characters anyway, since most browsers will understand them. If you're not using entities, you should include <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> in the head-section of your page.

Special Characters

There are a few characters that must be coded in different ways since they are otherwise used to define HTML-code, unless they are used within a set of SAMP-tags. You may use quotes and amps in the text, but not in tags (such as the ALT-text of an IMG-tag). These letters are

 <        #60     &lt;
 >        #62     &gt;
 &        #38     &amp;
 >        #62     &gt;

Also the non-breaking space entity is useful, since the browser normally won't care about multiple spaces, while multiple non-breaking spaces can be used as a simple way to add some horizontal space.

         #160    &nbsp;

Other Special Characters

Some of these characters cannot be printed in Courier, which is used here, or in Times that is the standard www-font. If you need characters that doesn't appear correctly, make it as a picture instead.
 
 †        #134
 ‡        #135
 ^        #136
 ‰        #137
 Sˇ       #138
 Œ        #140
 ™        #153
 sˇ       #154
 œ        #156
 Ÿ        #159
 ¡        #161
 ¢        #162
 £        #163
 €        #164
 ¥        #165
 §        #167
 ¨        #168
 ©        #169    &copy;
 a         #170
 «        #171
 ¬        #172
 –        #173    &shy;
 ®        #174    &reg;
 —        #175
 °        #176
 ±        #177
 2         #178
 3         #179
 ´        #180
 µ        #181
 ¶        #182
 ·          #183
 ,        #184
 1         #185
 ˚        #186
 »        #187
 1/4        #188
 1/2        #189
 3/4        #190
 ¿        #191
 À        #192    &Agrave;
 Á        #193    &Aacute;
 Â        #194    &Acirc;
 Ã        #195    &Atilde;
 Ä        #196    &Auml;
 Å        #197    &Aring;
 Æ        #198    &Aelig;
 Ç        #199    &Ccedil;
 È        #200    &Egrave;
 É        #201    &Eacute;
 Ê        #202    &Ecirc;
 Ë        #203    &Euml;
 Ì        #204    &Igrave;
 Í        #205    &Iacute;
 Î        #206    &Icirc;
 Ï        #207    &Iuml;
 -D       #208    &ETH;
 Ñ        #209    &Ntilde;
 Ò        #210    &Ograve;
 Ó        #211    &Oacute;
 Ô        #212    &Ocirc;
 Õ        #213    &Otilde;
 Ö        #214    &Ouml;
 x        #215
 Ø        #216    &Oslash;
 Ù        #217    &Ugrave;
 Ú        #218    &Uacute;
 Û        #219    &Ucirc;
 Ü        #220    &Uuml;
 y´       #221    &Yacute;
 l>       #222    &THORN;
 ß        #223    &szlig;
 à        #224    &agrave;
 á        #225    &aacute;
 â        #226    &acirc;
 ã        #227    &atilde;
 ä        #228    &auml;
 å        #229    &aring;
 æ        #230    &aelig;
 ç        #231    &ccedil;
 è        #232    &egrave;
 é        #233    &eacute;
 ê        #234    &egrave;
 ë        #235    &euml;
 ì        #236    &igrave;
 í        #237    &iacute;
 î        #238    &icirc;
 ï        #239    &iuml;
 ∂        #240    &eth;
 ñ        #241    &ntilde;
 ò        #242    &ograve;
 ó        #243    &oacute;
 ô        #244    &ocirc;
 õ        #245    &otilde;
 ö        #246    &ouml;
 ÷        #247
 ø        #248    &oslash;
 ù        #249    &ugrave;
 ú        #250    &uacute;
 û        #251    &ucirc;
 ü        #252    &uuml;
 y´       #253    &yacute;
 l>        #254    &thorn;
 ÿ        #255    &yuml;